package com.ddc.study.feature.main.tree.detail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ddc.study.R;
import com.ddc.study.entity.Article;

/**
 * Created on 2018/6/6.
 *
 * @author lshun
 * @version 1.0
 */
class TreeDetailAdapter extends BaseQuickAdapter<Article, BaseViewHolder> {
    TreeDetailAdapter() {
        super(R.layout.item_query_result);
    }

    @Override
    protected void convert(BaseViewHolder helper, Article item) {
        helper.setText(R.id.tv_content, item.getTitle());
    }
}
